<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Roles</title>
</head>
<body>
<div id="global">
<div id="header">
<jsp:include page="/header.jsp"></jsp:include>
</div>
<div id="body">
<h3 class="ui-widget-header">Administracion de Roles del Sistema</h3>
<div id="boton-nuevo">
<form action="${pageContext.request.contextPath}/roles/rolesController?method=4" id="frmNuevoRol" name="frmNuevoRol" method="post">
    <table id="table-boton-nuevo">
       <tr>
               <td colspan="2" align="center"><input type="submit" value="Nuevo Rol" class="buttonBlue"/></td>
       </tr>
    </table>
</form>
</div>
<div id="table-datos">
<display:table id="articulo" name="${requestScope.getListaRoles}" class="bordered">
    <display:caption class="ui-widget-header">Roles Existentes</display:caption>
    <display:column property="idRol" title="ID ROL"/>
    <display:column property="descRol" title="DESCRIPCION ROL" />
    <display:column property="descVigencia" title="VIGENCIA ROL" />
    <display:column  title="Editar" url="/roles/rolesController?method=2"
                    paramId="idRol" 
                    paramProperty="idRol">
                    <img src="${pageContext.request.contextPath}/images/edit.png" alt="lsa" height="20"  width="20"/> 
                    </display:column>
    <display:column  title="Eliminar" url="/roles/rolesController?method=6"
                    paramId="idRol" 
                    paramProperty="idRol">
                    <img src="${pageContext.request.contextPath}/images/error.png" alt="lsa" height="20"  width="20"/> 
                    </display:column>
	</display:table>
	</div>
</div>
</div>
</body>
</html>
